
function init() {
    document.addEventListener("deviceready", onDeviceReady, false);   
}

function onDeviceReady() {
		alert(device.version);
}